package com.cslg.yougou;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

// 默认开启事务管理
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.cslg.yougou.*.mapper")
public class YougouApplication {

    public static void main(String[] args) {
        SpringApplication.run(YougouApplication.class, args);
    }

}
